Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Radeon support by controlling wave size #1729

Merged
merged 3 commits into from
Dec 5, 2024

Conversation

seanofthemillers
Copy link
Contributor

@seanofthemillers seanofthemillers commented Sep 3, 2024

Summary

This is a feature. It adds a configuration time control parameter for the default wave size. On AMD MI cards this is generally 64, however on Radeon (gaming) cards this is usually 32. These changes will require the user to know if the card is setup for Wave32 or Wave64.

I also added a fix for the dynamically sized memory allocation which seems to trigger a lot of warnings for ROCm 6.2.

Design review (for API changes or additions---delete if unneeded)

On (date), we reviewed this PR. We discussed the design ideas:

  1. First idea or goal
  2. Second idea
  3. Third idea

This PR implements 1. and 3. It leaves out 2. for the following reasons

  • (impractical)
  • (too big)
  • (not a good idea anyway)

@seanofthemillers seanofthemillers force-pushed the feature/seanofthemillers/adding_radeon_support branch from 480d181 to 95de1dc Compare September 3, 2024 15:23
@seanofthemillers seanofthemillers force-pushed the feature/seanofthemillers/adding_radeon_support branch from 95de1dc to 8ca1d56 Compare September 27, 2024 17:45
CMakeLists.txt Outdated Show resolved Hide resolved
@seanofthemillers seanofthemillers force-pushed the feature/seanofthemillers/adding_radeon_support branch from 8ca1d56 to 314466a Compare October 8, 2024 21:53
@seanofthemillers seanofthemillers force-pushed the feature/seanofthemillers/adding_radeon_support branch from 1aa7b05 to f352a5f Compare November 18, 2024 17:35
include/RAJA/policy/tensor/arch/hip/hip_wave.hpp Outdated Show resolved Hide resolved
include/RAJA/policy/tensor/arch/hip/hip_wave.hpp Outdated Show resolved Hide resolved
test/include/RAJA_test-tensor.hpp Outdated Show resolved Hide resolved
@MrBurmark MrBurmark merged commit ac70a5b into develop Dec 5, 2024
32 checks passed
@MrBurmark MrBurmark deleted the feature/seanofthemillers/adding_radeon_support branch December 5, 2024 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants